package cn.intotw.pp.constants;

/**
 * @author Chenxiang
 * @Description: 常量类
 * @create 2018/8/20 16:27
 */
public class Constant {
    public final static String CHARSET_UTF8="UTF-8";
    public final static int LONG_LENGTH=8;
    public final static int INT_LENGTH=4;
    public final static int PACKET_BEGIN=0x70|0x72<<8|0x70<<16|0x72<<24;


    public static final String REQ_SPLIT="\\^\\|";
    public static final String REQ_HEAD_SPLIT ="\\&\\|";
    public static final String REQ_BODY_SPLIT ="\\*\\|";


    public static final String RES_SPLIT="^|";
    public static final String RES_HEAD_SPLIT ="&|";
    public static final String RES_BODY_SPLIT ="*|";
}